<%@language=vbscript%>
<%
%>
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<meta charset="UTF-8">
<TITLE></TITLE>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function cmd_onclick() {
	
}

//-->
</SCRIPT>
</HEAD>
<BODY style="font-family:Arial" topmargin=10 leftmargin=10>
<form method=post name=frm action="test.asp">
	<Table border=0>	
			<TR>	
				<TD><strong>STT</strong></TD>
				<TD><p align=center><strong>T&#234;n File</strong></TD>
			</TR>	
			<%
				Set Conn=Server.CreateObject("ADODB.Connection")
				Application("strConn") ="Provider=SQLOLEDB.1;Persist Security Info=true;User Id=sa;PASSWORD=sa;Initial Catalog=vinalines;Data Source=Vanthu"
				Conn.Open Application("StrConn")
				Set Rec=server.CreateObject("ADODB.Recordset")
				sSQL="Select * from Vanban_Noidung where Mavanthu like '"& Request("bMa") &"' and LoaiVanthu like '"& Request("bLoaiVT") &"'"
				Rec.CursorType=3
				Rec.CacheSize=5
				Rec.Open sSQL,Conn
				STT=1
				Do while Not Rec.EOF
			%>		
					<TR>	
						<TD><a href='../Xuly/upload/den/<%=Rec("Tentep")%>' title='B&#7845;m ph&#7843;i chu&#7897;t &#273;&#7875; t&#7843;i t&#7879;p tin'><%=STT%></a></TD>
						<TD><a href='../Xuly/upload/den/<%=Rec("Tentep")%>' title='B&#7845;m ph&#7843;i chu&#7897;t &#273;&#7875; t&#7843;i t&#7879;p tin'><%=Rec("Tentep")%></a></TD>
					</TR>
				<%
					Rec.MoveNext
					STT=STT+1
				Loop
				%>		
	</Table>
</form>
</BODY>
</HTML>
